package org.zfes.snowier.cloud.zbss.metting.biz.dao;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.metting.biz.model.Mettings;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface MettingsMapper extends BaseMapper<Mettings>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<Mettings> selectModelListPage(ParamMap params);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
	
	
	int setTitle(@Param("id")Long id,@Param("title")String title);
 	int setMetLogo(@Param("id")Long id,@Param("metLogo")String metLogo);
 	int setMetBigLogo(@Param("id")Long id,@Param("metBigLogo")String metBigLogo);
 	int setMetTime(@Param("id")Long id,@Param("metStartTime")Date metStartTime,@Param("metEndTime")Date metEndTime);
 	int setSignupTime(@Param("id")Long id,@Param("signupStartTime")Date signupStartTime,@Param("signupEndTime")Date signupEndTime);
 	
 	int setMetDetail(@Param("id")Long id,@Param("metDetail")String metDetail);
 	int setMetAgenda(@Param("id")Long id,@Param("metAgenda")String metAgenda);
 	int setMetNotes(@Param("id")Long id,@Param("metNotes")String metNotes);
 	
 	int updateSignupCount(@Param("id")Long id,@Param("countTobeAdd")Integer countTobeAdd);

	int updateMetLinkInfo(@Param("id")Long id, @Param("metLinkInfo")String metLinkInfo);
 	
}
